package com.cz;

public class test01 {
    public static void main(String[] args) {
        Phone p1 = new Phone("小米", 1212);
        System.out.println(p1);
        System.out.println(p1.brand);
        System.out.println(p1.price);

        p1.call("小明");
        p1.sendMessage("小明", "为啥不接我电话");
    }
}
